"use strict";
cc._RF.push(module, '055a6GoXotAz7KFD1kycVAo', 'Game');
// scripts/Game.js

"use strict";

var e = require;
var t = module;
var o = exports;

var _ii,
    nn = void 0 && (void 0).__extends || (_ii = function ii(t, e) {
  return (_ii = Object.setPrototypeOf || {
    __proto__: []
  } instanceof Array && function (t, e) {
    t.__proto__ = e;
  } || function (t, e) {
    for (var o in e) {
      Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
    }
  })(t, e);
}, function (t, e) {
  function o() {
    this.constructor = t;
  }

  _ii(t, e), t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype, new o());
}),
    rr = void 0 && (void 0).__awaiter || function (t, e, o, i) {
  return new (o || (o = Promise))(function (n, a) {
    function r(t) {
      try {
        l(i.next(t));
      } catch (e) {
        a(e);
      }
    }

    function s(t) {
      try {
        l(i["throw"](t));
      } catch (e) {
        a(e);
      }
    }

    function l(t) {
      var e;
      t.done ? n(t.value) : (e = t.value, e instanceof o ? e : new o(function (t) {
        t(e);
      })).then(r, s);
    }

    l((i = i.apply(t, e || [])).next());
  });
};

var oo = void 0 && (void 0).__decorate || function (e, t, a, n) {
  var i,
      o = arguments.length,
      s = o < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, a) : n;
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) s = Reflect.decorate(e, t, a, n);else for (var r = e.length - 1; r >= 0; r--) {
    (i = e[r]) && (s = (o < 3 ? i(s) : o > 3 ? i(t, a, s) : i(t, a)) || s);
  }
  return o > 3 && s && Object.defineProperty(t, a, s), s;
};

Object.defineProperty(o, "__esModule", {
  value: !0
}), o.GameType = o.Pool_Type = o.KillType = o.RoleEffectType = o.MonsterType = o.SoldierType = o.TeamInfo = void 0;
var a = cc._decorator,
    n = a.ccclass;
a.property, function (e) {
  e[e.left_team = 1] = "left_team", e[e.right_team = 2] = "right_team", e[e.rest_team = 3] = "rest_team";
}(o.TeamInfo || (o.TeamInfo = {})), function (e) {
  e[e.near_soldier = 0] = "near_soldier", e[e.far_soldier = 1] = "far_soldier", e[e.super_soldier = 2] = "super_soldier", e[e.dragon_soldier = 3] = "dragon_soldier", e[e.super_dragon_soldier = 4] = "super_dragon_soldier";
}(o.SoldierType || (o.SoldierType = {})), function (e) {
  e[e.red = 1] = "red", e[e.bule = 2] = "bule", e[e.spider = 3] = "spider", e[e.dragon = 4] = "dragon", e[e.big_dragon = 5] = "big_dragon";
}(o.MonsterType || (o.MonsterType = {})), function (e) {
  e[e.level_up = 0] = "level_up", e[e.red_buff = 1] = "red_buff", e[e.blue_buff = 2] = "blue_buff", e[e.dragon_buff = 3] = "dragon_buff", e[e.my_birth_light = 4] = "my_birth_light", e[e.other_birth_light = 5] = "other_birth_light", e[e.home_heal = 6] = "home_heal", e[e.kill = 7] = "kill", e[e.heal = 8] = "heal", e[e.fill = 9] = "fill", e[e.clock = 10] = "clock", e[e.sprint = 11] = "sprint", e[e.coin = 12] = "coin", e[e.Operate = 13] = "Operate", e[e.get_equip = 14] = "get_equip", e[e.tower_hit = 15] = "tower_hit", e[e.hero_die = 16] = "hero_die";
}(o.RoleEffectType || (o.RoleEffectType = {})), function (e) {
  e[e.near_soldier = 11] = "near_soldier", e[e.far_soldier = 12] = "far_soldier", e[e.super_soldier = 13] = "super_soldier", e[e.tower = 14] = "tower", e[e.red_buff = 15] = "red_buff", e[e.blue_buff = 16] = "blue_buff", e[e.spider = 17] = "spider", e[e.dragon = 18] = "dragon", e[e.big_dragon = 19] = "big_dragon";
}(o.KillType || (o.KillType = {})), function (e) {
  e[e.soldier = 0] = "soldier", e[e.super_soldier = 1] = "super_soldier", e[e.role_effects = 2] = "role_effects";
}(o.Pool_Type || (o.Pool_Type = {})), function (e) {
  e[e.rank_mode = 0] = "rank_mode", e[e.endless_mode = 1] = "endless_mode", e[e.clone_mode = 2] = "clone_mode";
}(o.GameType || (o.GameType = {}));

var i = function () {
  function e() {}

  return e.signin_info = [{
    days: 1,
    type: 0,
    num: 200
  }, {
    days: 2,
    type: 1,
    num: 50
  }, {
    days: 3,
    type: 0,
    num: 300
  }, {
    days: 4,
    type: 3,
    num: 5
  }, {
    days: 5,
    type: 2,
    num: 100
  }, {
    days: 6,
    type: 1,
    num: 20
  }, {
    days: 7,
    type: -1,
    num: 1
  }, {
    days: 7,
    type: 4,
    num: 2
  }], e.level_exp = [420, 630, 756, 1008, 1260, 1512, 1764, 2016, 2268, 2520, 2772, 3024, 3276, 3528], e.tower_info = [{
    hp: 1e4,
    attack: 450
  }, {
    hp: 15e3,
    attack: 560
  }, {
    hp: 2e4,
    attack: 670
  }], e.shop_coin_info = [{
    id: 0,
    coin: 200,
    zs: 20,
    discount: 1
  }, {
    id: 1,
    coin: 600,
    zs: 60,
    discount: 1
  }, {
    id: 2,
    coin: 1e3,
    zs: 100,
    discount: 1
  }, {
    id: 3,
    coin: 1400,
    zs: 140,
    discount: 1
  }, {
    id: 4,
    coin: 2e3,
    zs: 200,
    discount: 1
  }, {
    id: 4,
    coin: 2e3,
    zs: 200,
    discount: 0.8
  }], e.shop_role_info = [{
    id: 0,
    type: 0,
    num: 2e3,
    discount: 1
  }, {
    id: 1,
    type: 0,
    num: 2e3,
    discount: 1
  }, {
    id: 2,
    type: 1,
    num: 200,
    discount: 1
  }, {
    id: 3,
    type: 0,
    num: 5e3,
    discount: 0.9
  }, {
    id: 4,
    type: 1,
    num: 200,
    discount: 0.9
  }, {
    id: 5,
    type: 2,
    num: 400,
    discount: 0.8
  }, {
    id: 6,
    type: 1,
    num: 500,
    discount: 0.8
  }, {
    id: 7,
    type: 0,
    num: 6e3,
    discount: 0.75
  }, {
    id: 8,
    type: 5,
    num: 1,
    discount: 1
  }, {
    id: 9,
    type: 4,
    num: 1,
    discount: 1
  }, {
    id: 10,
    type: 4,
    num: 1,
    discount: 1
  }, {
    id: 11,
    type: 0,
    num: 2500,
    discount: 0.8
  }, {
    id: 12,
    type: 0,
    num: 2e3,
    discount: 1
  }, {
    id: 13,
    type: 0,
    num: 3e3,
    discount: 0.8
  }, {
    id: 14,
    type: 3,
    num: 250,
    discount: 0.9
  }, {
    id: 15,
    type: 1,
    num: 250,
    discount: 0.8
  }], e.dower_up_level = [[0, 0], [666, 15], [1888, 40], [2999, 70], [4444, 120]], e.task_info = [{
    id: 0,
    name: "进入游戏",
    info: "完成每日进入游戏",
    schedule: 1,
    exp: 200
  }, {
    id: 1,
    name: "每日签到",
    info: "完成每日签到",
    schedule: 1,
    exp: 300
  }, {
    id: 2,
    name: "抽奖达人",
    info: "完成一次抽奖",
    schedule: 1,
    exp: 300
  }, {
    id: 3,
    name: "胜利之王",
    info: "任意模式胜利一次",
    schedule: 1,
    exp: 400
  }, {
    id: 4,
    name: "小试牛刀",
    info: "完成两局排位模式",
    schedule: 2,
    exp: 600
  }, {
    id: 5,
    name: "购物达人",
    info: "消耗2000金币",
    schedule: 2e3,
    exp: 500
  }, {
    id: 6,
    name: "富可敌国",
    info: "消耗300钻石",
    schedule: 300,
    exp: 800
  }, {
    id: 7,
    name: "突破天赋",
    info: "升级任意天赋一次",
    schedule: 1,
    exp: 500
  }, {
    id: 8,
    name: "战斗狂人",
    info: "任意模式完成5局游戏",
    schedule: 5,
    exp: 800
  }, {
    id: 9,
    name: "一战成名",
    info: "获得一次游戏评分为SSS",
    schedule: 1,
    exp: 600
  }, {
    id: 10,
    name: "广告达人",
    info: "累计观看3次视频",
    schedule: 3,
    exp: 1e3
  }], e.task_active = [{
    award_type: [0, 2],
    award_num: [100, 1]
  }, {
    award_type: [1, 2],
    award_num: [50, 2]
  }, {
    award_type: [1, 3],
    award_num: [50, 2]
  }, {
    award_type: [2, 3],
    award_num: [3, 3]
  }, {
    award_type: [0, 2, 4],
    award_num: [300, 5, 1]
  }], e.season_info = [{
    id: 0,
    award_type: [0],
    award_num: [50],
    extra_type: [1, 4],
    extra_num: [100, 2]
  }, {
    id: 1,
    award_type: [],
    award_num: [],
    extra_type: [2],
    extra_num: [50]
  }, {
    id: 2,
    award_type: [1],
    award_num: [20],
    extra_type: [3, 4],
    extra_num: [2, 1]
  }, {
    id: 3,
    award_type: [2],
    award_num: [5],
    extra_type: [2],
    extra_num: [50]
  }, {
    id: 4,
    award_type: [4],
    award_num: [1],
    extra_type: [1, 2],
    extra_num: [200, 80]
  }, {
    id: 5,
    award_type: [],
    award_num: [],
    extra_type: [0],
    extra_num: [250]
  }, {
    id: 6,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 7,
    award_type: [1],
    award_num: [50],
    extra_type: [2],
    extra_num: [60]
  }, {
    id: 8,
    award_type: [0],
    award_num: [150],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 9,
    award_type: [2],
    award_num: [20],
    extra_type: [1, 4],
    extra_num: [100, 5]
  }, {
    id: 10,
    award_type: [],
    award_num: [],
    extra_type: [0, 1],
    extra_num: [200, 100]
  }, {
    id: 11,
    award_type: [3],
    award_num: [3],
    extra_type: [0, 2],
    extra_num: [200, 50]
  }, {
    id: 12,
    award_type: [],
    award_num: [],
    extra_type: [0, 3],
    extra_num: [200, 5]
  }, {
    id: 13,
    award_type: [],
    award_num: [],
    extra_type: [0, 4],
    extra_num: [200, 5]
  }, {
    id: 14,
    award_type: [4],
    award_num: [2],
    extra_type: [0, 1],
    extra_num: [500, 300]
  }, {
    id: 15,
    award_type: [],
    award_num: [],
    extra_type: [2],
    extra_num: [50]
  }, {
    id: 16,
    award_type: [2],
    award_num: [10],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 17,
    award_type: [],
    award_num: [],
    extra_type: [4],
    extra_num: [5]
  }, {
    id: 18,
    award_type: [0],
    award_num: [200],
    extra_type: [0],
    extra_num: [600]
  }, {
    id: 19,
    award_type: [1],
    award_num: [100],
    extra_type: [1, 2],
    extra_num: [150, 100]
  }, {
    id: 20,
    award_type: [],
    award_num: [],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 21,
    award_type: [1],
    award_num: [100],
    extra_type: [4],
    extra_num: [5]
  }, {
    id: 22,
    award_type: [1],
    award_num: [100],
    extra_type: [2],
    extra_num: [80]
  }, {
    id: 23,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 24,
    award_type: [2],
    award_num: [50],
    extra_type: [2, 3],
    extra_num: [120, 3]
  }, {
    id: 25,
    award_type: [],
    award_num: [],
    extra_type: [2],
    extra_num: [80]
  }, {
    id: 26,
    award_type: [1],
    award_num: [50],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 27,
    award_type: [1],
    award_num: [50],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 28,
    award_type: [],
    award_num: [],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 29,
    award_type: [4],
    award_num: [3],
    extra_type: [1],
    extra_num: [300]
  }, {
    id: 30,
    award_type: [0],
    award_num: [250],
    extra_type: [2],
    extra_num: [80]
  }, {
    id: 31,
    award_type: [],
    award_num: [],
    extra_type: [4],
    extra_num: [5]
  }, {
    id: 32,
    award_type: [2],
    award_num: [45],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 33,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 34,
    award_type: [3],
    award_num: [5],
    extra_type: [2],
    extra_num: [160]
  }, {
    id: 35,
    award_type: [],
    award_num: [],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 36,
    award_type: [1],
    award_num: [150],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 37,
    award_type: [2],
    award_num: [30],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 38,
    award_type: [],
    award_num: [],
    extra_type: [4],
    extra_num: [5]
  }, {
    id: 39,
    award_type: [1],
    award_num: [200],
    extra_type: [0, 1],
    extra_num: [300, 200]
  }, {
    id: 40,
    award_type: [],
    award_num: [],
    extra_type: [2],
    extra_num: [100]
  }, {
    id: 41,
    award_type: [0],
    award_num: [300],
    extra_type: [2],
    extra_num: [100]
  }, {
    id: 42,
    award_type: [2],
    award_num: [10],
    extra_type: [3],
    extra_num: [5]
  }, {
    id: 43,
    award_type: [],
    award_num: [],
    extra_type: [1, 2],
    extra_num: [100, 200]
  }, {
    id: 44,
    award_type: [1],
    award_num: [200],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 45,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 46,
    award_type: [0],
    award_num: [300],
    extra_type: [4],
    extra_num: [10]
  }, {
    id: 47,
    award_type: [0],
    award_num: [300],
    extra_type: [3],
    extra_num: [10]
  }, {
    id: 48,
    award_type: [],
    award_num: [],
    extra_type: [2, 4],
    extra_num: [160, 5]
  }, {
    id: 49,
    award_type: [2],
    award_num: [30],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 50,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 51,
    award_type: [3],
    award_num: [1],
    extra_type: [2],
    extra_num: [160]
  }, {
    id: 52,
    award_type: [],
    award_num: [],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 53,
    award_type: [4],
    award_num: [1],
    extra_type: [3],
    extra_num: [10]
  }, {
    id: 54,
    award_type: [1],
    award_num: [200],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 55,
    award_type: [0],
    award_num: [300],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 56,
    award_type: [],
    award_num: [],
    extra_type: [2],
    extra_num: [160]
  }, {
    id: 57,
    award_type: [1],
    award_num: [150],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 58,
    award_type: [],
    award_num: [],
    extra_type: [4],
    extra_num: [10]
  }, {
    id: 59,
    award_type: [2],
    award_num: [70],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 60,
    award_type: [0],
    award_num: [300],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 61,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 62,
    award_type: [1],
    award_num: [200],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 63,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 64,
    award_type: [2],
    award_num: [100],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 65,
    award_type: [],
    award_num: [],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 66,
    award_type: [2],
    award_num: [50],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 67,
    award_type: [2],
    award_num: [50],
    extra_type: [1],
    extra_num: [200]
  }, {
    id: 68,
    award_type: [],
    award_num: [],
    extra_type: [0],
    extra_num: [500]
  }, {
    id: 69,
    award_type: [1],
    award_num: [300],
    extra_type: [1],
    extra_num: [500]
  }], e.season_exp = [1e3, 1500, 2e3, 2500, 3e3, 4e3, 5e3], e.login_tip_list = ["记得每天完成任务哦！", "天赋武魂可以给英雄带来强大的提升", "击败野怪会有很强力的增益效果", "添加桌面图标，下次游戏就不会迷路", "段位提升后记得在赛季奖励中领取奖励", "复活币是个好东西，死亡后可以快速复活", "带好召唤师技能更容易获得游戏胜利", "团结队友更容易获得游戏胜利", "根据英雄选择合适的天赋"], e.equip_ball_list = [27, 27, 27, 28, 28, 28, 29, 29, 29, 30, 30, 30, 31, 31, 31, 32, 32, 32, 33, 33, 33, 34, 34, 34, 35, 35, 35, 36, 36, 36, 37, 37, 37, 21, 22, 23], e.game_path_pos = [[cc.v2(3230, 120), cc.v2(2290, 850), cc.v2(880, 1300), cc.v2(0, 1400), cc.v2(-880, 1300), cc.v2(-2290, 850), cc.v2(-3230, 120)], [cc.v2(3e3, -120), cc.v2(1850, -120), cc.v2(620, -120), cc.v2(0, -120), cc.v2(-620, -120), cc.v2(-1850, -120), cc.v2(-3e3, -120)], [cc.v2(3230, -360), cc.v2(2290, -1150), cc.v2(880, -1560), cc.v2(0, -1660), cc.v2(-880, -1560), cc.v2(-2290, -1150), cc.v2(-3230, -360)]], oo([n], e);
}();

o["default"] = i;

cc._RF.pop();